﻿namespace Stock.Model
{
    public class KeyValueModel
    {
        public int Type { get; set; }

        public string Name { get; set; }

        public KeyValueModel() { }

        public KeyValueModel(int type, string name)
        {
            Type = type;
            Name = name;
        }

        public override string ToString()
        {
            return Name;
        }
    }
}
